package pub.elephants.socket.netty.core;

import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.ByteToMessageDecoder;
import pub.elephants.serializable.ElephantsSerializable;

import java.util.List;

public class NettyDecoder extends ByteToMessageDecoder {
    private ElephantsSerializable serializable;
    private Class<?> clazz;

    public NettyDecoder() {
    }

    public NettyDecoder(ElephantsSerializable serializable, Class<?> clazz) {
        this.serializable = serializable;
        this.clazz = clazz;
    }

    protected void decode(ChannelHandlerContext channelHandlerContext, ByteBuf byteBuf, List<Object> list) throws Exception {

    }
}
